// 21 主数据管理 31
export default {
  path: '/maindatamanage',
  name: 'maindatamanage',
  icon: 'qrcode',
  authority: ['mgr:antd:mdm'],
  routes: [
    {
      path: '/maindatamanage/emplinfo',
      name: 'emplinfo',
      authority: ['mgr:mdm:emp'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/maindatamanage/emplinfo',
          redirect: '/maindatamanage/emplinfo/index',
        },
        {
          path: '/maindatamanage/emplinfo/index',
          component: './MainDataManage/EmpInfo/Index',
        },
        {
          path: '/maindatamanage/emplinfo/detail',
          name: 'detail',
          component: './MainDataManage/EmpInfo/Detail',
        },
        {
          path: '/maindatamanage/emplinfo/update',
          name: 'update',
          component: './MainDataManage/EmpInfo/Update',
        },
      ],
    },
    {
      path: '/maindatamanage/custinfo',
      name: 'custinfo',
      authority: ['mgr:mdm:cust'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/maindatamanage/custinfo',
          redirect: '/maindatamanage/custinfo/index',
        },
        {
          path: '/maindatamanage/custinfo/index',
          component: './MainDataManage/CustInfo/Index',
        },
        {
          path: '/maindatamanage/custinfo/detail',
          name: 'detail',
          component: './MainDataManage/CustInfo/Detail',
        },
        {
          path: '/maindatamanage/custinfo/update',
          name: 'update',
          component: './MainDataManage/CustInfo/Update',
        },
      ],
    },
  ],
};
